<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="qaSpotCheckId" name="qaSpotCheckId" th:value="${qaSpotCheck.qaSpotCheckId}"  type="hidden">
							<div class="form-group">	
								<label class="col-sm-3 control-label">检测时间：</label>
								<div class="col-sm-8">
									<input id="checkDate" name="checkDate" th:value="${qaSpotCheck.checkDate}" class="form-control" type="text" autocomplete="off">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">产品批次：</label>
								<div class="col-sm-8">
									<input id="batch" name="batch" th:value="${qaSpotCheck.batch}" class="form-control" type="text" autocomplete="off">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">产品名称：</label>
								<div class="col-sm-4">
									<select id="productId" name="productId" class="form-control">
									</select>
								</div>
								<div class="col-sm-4 input-group">
									<input type="text" id="checkProductName" class="form-control" placeholder="搜索产品名称"> <span class="input-group-btn"> <button type="button" class="btn btn-primary" onclick="getProductsByUpdate()">搜索
                                        </button> </span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">5s检查结果：</label>
								<div class="col-sm-8">
									<!--<input id="checkResult" name="checkResult" th:value="${qaSpotCheck.checkResult}" class="form-control" type="text" autocomplete="off">-->
								</div>
							</div>
							<!--<div class="form-group">-->
								<!--<label class="col-sm-3 control-label">异常情况：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<input id="abnormalSituation" name="abnormalSituation" th:value="${qaSpotCheck.abnormalSituation}" class="form-control" type="text" autocomplete="off">-->
								<!--</div>-->
							<!--</div>-->
							<div class="form-group">
								<label class="col-sm-3 control-label">选料车间：</label>
								<div class="col-sm-8">
									<input id="materialWorkshop" name="materialWorkshop" th:value="${qaSpotCheck.materialWorkshop}" class="form-control" type="text" autocomplete="off">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">杂工车间：</label>
								<div class="col-sm-8">
									<input id="workshops" name="workshops" class="form-control" th:value="${qaSpotCheck.workshops}" type="text" autocomplete="off">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">脱包间：</label>
								<div class="col-sm-8">
									<input id="strippingRoom" name="strippingRoom" class="form-control" th:value="${qaSpotCheck.strippingRoom}" type="text" autocomplete="off">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">卫生工具间：</label>
								<div class="col-sm-8">
									<input id="sanitaryToolRoom" name="sanitaryToolRoom" th:value="${qaSpotCheck.sanitaryToolRoom}" class="form-control" type="text" autocomplete="off">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">蒸炒间：</label>
								<div class="col-sm-8">
									<input id="steamingRoom" name="steamingRoom" th:value="${qaSpotCheck.steamingRoom}" class="form-control" type="text" autocomplete="off">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">配料车间：</label>
								<div class="col-sm-8">
									<input id="batchingWorkshop" name="batchingWorkshop" th:value="${qaSpotCheck.batchingWorkshop}" class="form-control" type="text" autocomplete="off">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">配料室：</label>
								<div class="col-sm-8">
									<input id="batchingRoom" name="batchingRoom" th:value="${qaSpotCheck.batchingRoom}" class="form-control" type="text" autocomplete="off">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">洗瓶车间：</label>
								<div class="col-sm-8">
									<input id="washingWorkshop" name="washingWorkshop" th:value="${qaSpotCheck.washingWorkshop}" class="form-control" type="text" autocomplete="off">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">灌装车间：</label>
								<div class="col-sm-8">
									<input id="fillingWorkshop" name="fillingWorkshop" th:value="${qaSpotCheck.fillingWorkshop}" class="form-control" type="text" autocomplete="off">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">杀菌车间：</label>
								<div class="col-sm-8">
									<input id="sterilizationWorkshop" name="sterilizationWorkshop" th:value="${qaSpotCheck.sterilizationWorkshop}" class="form-control" type="text" autocomplete="off">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">桶装包装间：</label>
								<div class="col-sm-8">
									<input id="barrelPackingRoom" name="barrelPackingRoom" th:value="${qaSpotCheck.barrelPackingRoom}" class="form-control" type="text" autocomplete="off">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">包装车间：</label>
								<div class="col-sm-8">
									<input id="packingWorkshop" name="packingWorkshop" th:value="${qaSpotCheck.packingWorkshop}" class="form-control" type="text" autocomplete="off">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">仓库：</label>
								<div class="col-sm-8">
									<input id="warehouse" name="warehouse" th:value="${qaSpotCheck.warehouse}" class="form-control" type="text" autocomplete="off">
								</div>
							</div>
														<!--<div class="form-group">	-->
								<!--<label class="col-sm-3 control-label">包装材料（抽查数据）：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<div id="packagingDiv" name="packagingDiv">-->

									<!--</div>-->
									<!--<input id="packaging" name="packaging" th:value="${qaSpotCheck.packaging}" class="form-control" type="hidden">-->
								<!--</div>-->
							<!--</div>-->
														<!--<div class="form-group">	-->
								<!--<label class="col-sm-3 control-label">半成品净含量（抽查数据）：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<div id="semiManufacturesDiv" name="semiManufacturesDiv">-->

									<!--</div>-->
									<!--<input id="semiManufactures" name="semiManufactures" th:value="${qaSpotCheck.semiManufactures}" class="form-control" type="hidden">-->
								<!--</div>-->
							<!--</div>-->
														<!--<div class="form-group">	-->
								<!--<label class="col-sm-3 control-label">成品包装及标签：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<div id="finishedProductDiv" name="finishedProductDiv">-->

									<!--</div>-->
									<!--<input id="finishedProduct" name="finishedProduct" th:value="${qaSpotCheck.finishedProduct}" class="form-control" type="hidden">-->
								<!--</div>-->
							<!--</div>-->

							<!--<div class="form-group">-->
								<!--<label class="col-sm-3 control-label">均衡校验信息：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<div id="balancedCheckInfoDiv" name="balancedCheckInfoDiv">-->

									<!--</div>-->
									<!--<input id="balancedCheckInfo" name="balancedCheckInfo" class="form-control" type="hidden">-->
								<!--</div>-->
							<!--</div>-->
														<!--<div class="form-group">	-->
								<!--<label class="col-sm-3 control-label">检测人 默认登陆用户：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<input id="checkBy" name="checkBy" th:value="${qaSpotCheck.checkBy}" class="form-control" type="text">-->
								<!--</div>-->
							<!--</div>-->
														<!--<div class="form-group">	-->
								<!--<label class="col-sm-3 control-label">：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<input id="createBy" name="createBy" th:value="${qaSpotCheck.createBy}" class="form-control" type="text">-->
								<!--</div>-->
							<!--</div>-->
														<!--<div class="form-group">	-->
								<!--<label class="col-sm-3 control-label">：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<input id="createDate" name="createDate" th:value="${qaSpotCheck.createDate}" class="form-control" type="text">-->
								<!--</div>-->
							<!--</div>-->
														<!--<div class="form-group">	-->
								<!--<label class="col-sm-3 control-label">：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<input id="state" name="state" th:value="${qaSpotCheck.state}" class="form-control" type="text">-->
								<!--</div>-->
							<!--</div>-->
																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<!--<script type="text/javascript" th:inline="javascript">-->
        <!--var packagingHtml = [[${qaSpotCheck.packaging}]]-->
        <!--var semiManufacturesHtml = [[${qaSpotCheck.semiManufactures}]]-->
        <!--var finishedProductHtml = [[${qaSpotCheck.finishedProduct}]]-->
		<!--var balancedCheckInfoHtml = [[${qaSpotCheck.balancedCheckInfo}]]-->


        <!--var E = window.wangEditor-->
        <!--var packagingDiv = new E('#packagingDiv')-->
        <!--packagingDiv.customConfig.menus = [-->
            <!--'head',  // 标题-->
            <!--'bold',  // 粗体-->
            <!--'fontSize',  // 字号-->
            <!--'fontName',  // 字体-->
            <!--'italic',  // 斜体-->
            <!--'underline',  // 下划线-->
            <!--'strikeThrough',  // 删除线-->
            <!--'foreColor',  // 文字颜色-->
            <!--'backColor',  // 背景颜色-->
            <!--'link',  // 插入链接-->
            <!--'list',  // 列表-->
            <!--'justify',  // 对齐方式-->
<!--//            'quote',  // 引用-->
            <!--'image',  // 插入图片-->
            <!--'table',  // 表格-->
        <!--]-->
        <!--packagingDiv.customConfig.uploadImgServer = getProjectName()+'/common/sysFile/uploadOss'-->
        <!--packagingDiv.create()-->
        <!--packagingDiv.txt.html(packagingHtml)-->

        <!--function setPackaging() {-->
            <!--var log = packagingDiv.txt.html()-->
            <!--$("#packaging").val(log)-->
        <!--}-->

        <!--var semiManufacturesDiv = new E('#semiManufacturesDiv')-->
        <!--semiManufacturesDiv.customConfig.menus = [-->
            <!--'head',  // 标题-->
            <!--'bold',  // 粗体-->
            <!--'fontSize',  // 字号-->
            <!--'fontName',  // 字体-->
            <!--'italic',  // 斜体-->
            <!--'underline',  // 下划线-->
            <!--'strikeThrough',  // 删除线-->
            <!--'foreColor',  // 文字颜色-->
            <!--'backColor',  // 背景颜色-->
            <!--'link',  // 插入链接-->
            <!--'list',  // 列表-->
            <!--'justify',  // 对齐方式-->
<!--//            'quote',  // 引用-->
            <!--'image',  // 插入图片-->
            <!--'table',  // 表格-->
        <!--]-->
        <!--semiManufacturesDiv.customConfig.uploadImgServer = getProjectName()+'/common/sysFile/uploadOss'-->
        <!--semiManufacturesDiv.create()-->
        <!--semiManufacturesDiv.txt.html(semiManufacturesHtml)-->
        <!--function setSemiManufactures() {-->
            <!--var log = semiManufacturesDiv.txt.html()-->
            <!--$("#semiManufactures").val(log)-->
        <!--}-->

        <!--var finishedProductDiv = new E('#finishedProductDiv')-->
        <!--finishedProductDiv.customConfig.menus = [-->
            <!--'head',  // 标题-->
            <!--'bold',  // 粗体-->
            <!--'fontSize',  // 字号-->
            <!--'fontName',  // 字体-->
            <!--'italic',  // 斜体-->
            <!--'underline',  // 下划线-->
            <!--'strikeThrough',  // 删除线-->
            <!--'foreColor',  // 文字颜色-->
            <!--'backColor',  // 背景颜色-->
            <!--'link',  // 插入链接-->
            <!--'list',  // 列表-->
            <!--'justify',  // 对齐方式-->
<!--//            'quote',  // 引用-->
            <!--'image',  // 插入图片-->
            <!--'table',  // 表格-->
        <!--]-->
        <!--finishedProductDiv.customConfig.uploadImgServer = getProjectName()+'/common/sysFile/uploadOss'-->
        <!--finishedProductDiv.create()-->
        <!--finishedProductDiv.txt.html(finishedProductHtml)-->
        <!--function setfinishedProduct() {-->
            <!--var log = finishedProductDiv.txt.html()-->
            <!--$("#finishedProduct").val(log)-->
        <!--}-->

        <!--var balancedCheckInfoDiv = new E('#balancedCheckInfoDiv')-->
        <!--balancedCheckInfoDiv.customConfig.menus = [-->
            <!--'head',  // 标题-->
            <!--'bold',  // 粗体-->
            <!--'fontSize',  // 字号-->
            <!--'fontName',  // 字体-->
            <!--'italic',  // 斜体-->
            <!--'underline',  // 下划线-->
            <!--'strikeThrough',  // 删除线-->
            <!--'foreColor',  // 文字颜色-->
            <!--'backColor',  // 背景颜色-->
            <!--'link',  // 插入链接-->
            <!--'list',  // 列表-->
            <!--'justify',  // 对齐方式-->
<!--//            'quote',  // 引用-->
            <!--'image',  // 插入图片-->
            <!--'table',  // 表格-->
        <!--]-->
        <!--balancedCheckInfoDiv.customConfig.uploadImgServer = getProjectName()+'/common/sysFile/uploadOss'-->
        <!--balancedCheckInfoDiv.create()-->
        <!--balancedCheckInfoDiv.txt.html(balancedCheckInfoHtml)-->
        <!--function setBalancedCheckInfo() {-->
            <!--var log = balancedCheckInfoDiv.txt.html()-->
            <!--$("#balancedCheckInfo").val(log)-->
        <!--}-->
	<!--</script>-->
	<script type="text/javascript" th:inline="javascript">
		function setCheckDate() {
			var checkDate = [[${qaSpotCheck.checkDate}]]
			var newDate = new Date(checkDate)
			var result = DateFormat.format(newDate, 'yyyy-MM-dd hh:mm:ss')
			laydate.render({
				elem: '#checkDate', //指定元素
				type: 'datetime',
				value: result
			});
		}
		function getProductsId() {
			return [[${qaSpotCheck.productId}]];
		}
	</script>
	<script type="text/javascript" th:src="@{/js/appjs/qa/qaSpotCheck/edit.js}" src="/js/appjs/qa/qaSpotCheck/edit.js">
	</script>
</body>
</html>
